package com.aos.erp.schools.service.student.imp;

import com.aos.erp.schools.mapper.student.StudentReportresultMapper;
import com.aos.erp.schools.model.student.StudentReportresult;
import com.aos.erp.schools.service.student.StudentReportresultService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Auther: chb
 * @Date: 2018/11/1 19:03
 * @Description:  学员成绩
 */
@Service
public class StudentReportresultServiceImpl extends ServiceImpl<StudentReportresultMapper,StudentReportresult> implements StudentReportresultService {

    @Resource
    private StudentReportresultMapper studentReportresultMapper;
    @Override
    public void saveBean(StudentReportresult studentReportresult) throws Exception {
        this.save(studentReportresult);
    }

    @Override
    public int updateBean(StudentReportresult studentReportresult) {
        return studentReportresultMapper.update(studentReportresult);
    }
}
